package com.example.networklab.domain.req;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class RegisterBatchReq {
    @NotNull
    private Integer classNum;
    @NotNull
    private Integer grade;
    /**
     * 学号列表
     */
    @NotEmpty
    private List<String> list;
}
